namespace java com.data.permission.rule.dto

typedef string String
typedef bool Boolean
typedef i64 Long
typedef i32 Integer
typedef double Double

struct ConditionDetailDTO {
    1:String conditionDetailCode,
    2:String conditionField,
    3:String conditionFlag,
    4:String checkType,
    5:String sourceType,
    6:String dataSource,
    7:Integer conditionOrder
}

struct RuleConditionDTO {
    1:String conditionCode,
    2:String conditionName,
    3:list<ConditionDetailDTO> conditionDetailList

}

struct RuleInfoDTO {
    1:String ruleCode,
    2:String ruleName,
    3:list<RuleConditionDTO> conditionList
}

service DataPermissionsService {

    void ping(),

    map<String, RuleInfoDTO> flushRuleInfo(),

    map<String, RuleConditionDTO> flushConditionMap()

}